<template>
  <div>
    <TopHeader></TopHeader>
    <el-container>
        <SideMenu></SideMenu>
        <el-main>
          <div class="app-main">
              <div class="content"> <router-view></router-view></div>  
          </div>
        </el-main>
    </el-container>
    <RestPassword></RestPassword>
  </div>
</template>

<script lang="ts" setup>
  import SideMenu from "../components/SideMenu.vue";
  import TopHeader from "../components/TopHeader.vue";
  import RestPassword from "../views/restPassword/RestPassword.vue";
</script>

<style lang="scss" scoped>
.el-main{
  position: relative;
  background-color: #f1f2f5;
  height: calc(100vh - 60px);
  overflow:auto;
  .app-main{
    background-color: #fff;
    min-height: 100%;
    width: 100%;
    .content{
       padding: 20px 30px;
    }
  }
}
</style>